@import "/theme/theme.wxss";

.i-drawer-mask {
  position: relative;
}

.catalogue-container {
  width: 100vw;
  height: 100vh;
  background-color: #fff;

  .drawer-title {
    width: 100%;
    height: 80rpx;
    font-size: 34rpx;
    line-height: 80rpx;
    text-align: center;
  }

  .catalogue-list {
    height: 100vh;
    // height: calc(100vh - env(safe-area-inset-bottom));

    .list {
      // padding: 5rpx 20rpx;
      // height: 60rpx;
      font-size: 30rpx;
      // line-height: 60rpx;
      // white-space: nowrap;
      // overflow: hidden;
      // text-overflow: ellipsis;
      // border-radius: 20rpx;
    }

  }
}

.drawer-tools {
  position: absolute;
  right: 10rpx;
  bottom: calc(env(safe-area-inset-bottom) + 20rpx);

  .gotop,
  .close {
    margin: 0 10rpx 10rpx 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80rpx;
    height: 80rpx;
    border-radius: 50%;
    background-color: #f36838;
  }
}

.none-blogs {
  padding: 30rpx 0;
  color: #999;
  text-align: center;
}

.all-blogs {
  .blogs-tiem {
    position: relative;
    margin-top: 20rpx;
    display: flex;
    justify-content: space-between;
    padding: 15rpx;
    // background-color: #f6f7f9;
    background-color: var(--backgroundColor2);
    border-radius: 20rpx;
    overflow: hidden;

    .blogs-title {
      position: relative;
      padding: 10rpx 20rpx;
      flex: 1;
      height: 180rpx;
      font-size: 32rpx;
      // color: #252525;
      color: var(--fontColor1);
      border-radius: 20rpx;
      box-sizing: border-box;
      // background-color: #fff;
      z-index: 9;

      .title {
        display: flex;
        margin-top: 10rpx;
        line-height: 50rpx;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        word-break: break-all;
      }

      .blogs-bottom {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        display: flex;
        align-items: center;

        .time {
          padding: 10rpx 20rpx;
          font-size: 26rpx;
          color: #999;
        }

        .label {
          margin-right: 10rpx;
          padding: 0 10rpx;
          background-color: #f36838;
          color: #fff;
          font-size: 24rpx;
          border-radius: 6rpx;
        }

        .label.original {
          color: #e33e33;
          background: rgba(227, 62, 51, .1);
        }
      }
    }

    .img-container {
      margin-left: 20rpx;
      width: 180rpx;
      height: 180rpx;
      border-radius: 20rpx;
      overflow: hidden;
      // background-color: #fff;
      background-color: var(--backgroundColor);
      box-sizing: border-box;

      .blogs-img {
        width: 100%;
        height: 100%;
        // background-color: #fff;
        background-color: var(--backgroundColor);
      }
    }

    .classify-label {
      position: absolute;
      bottom: 0;
      left: 0;
      transform: translate(0, 25%);
      opacity: .3;

      image {
        width: 150rpx;
        border-radius: 10rpx;
      }
    }
  }
}

.scroll-top {
  position: fixed;
  right: 20rpx;
  bottom: calc(56px + env(safe-area-inset-bottom) + 100rpx);
  padding-bottom: 5rpx;
  align-items: center;
  justify-content: center;
  width: 80rpx;
  height: 80rpx;
  border-radius: 50%;
  background-color: #f9906f;
  // background-color: rgba(227, 62, 51, .8);
  box-sizing: border-box;
  z-index: 9;
}

.scroll-top.show {
  display: flex;
  animation: topShow 1s forwards;
}

.scroll-top.hidden {
  display: flex;
  animation: topHidden 1s forwards;
}

@keyframes topHidden {
  0% {
    right: 20rpx;
    opacity: 1;
  }

  100% {
    right: -100rpx;
    opacity: 0;
  }
}

@keyframes topShow {
  0% {
    right: -100rpx;
    opacity: 0;
  }

  100% {
    right: 20rpx;
    opacity: 1;
  }
}

.my-page {
  padding-bottom: env(safe-area-inset-bottom);
  min-height: 100vh;
  color: #252525;
  background-color: #fff;
  box-sizing: border-box;
}

.towxml-container {
  .title {
    margin-top: 40rpx;
    padding: 0 20rpx;
    font-size: 26rpx;
  }
}

.isplay {
  width: 60rpx;
  padding: 0 10rpx;
  box-sizing: border-box;

  image {
    width: 100%;
    animation: isplay 1.4s infinite;
  }
}

@keyframes isplay {
  0% {
    transform: scale(0.9);
  }

  60% {
    transform: scale(1.2);
  }

  63% {
    transform: scale(1.1);
  }

  65% {
    transform: scale(1.2);
  }

  67% {
    transform: scale(1.1);
  }

  70% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(0.9);
  }
}

.group {
  margin: 20rpx;
  color: var(--fontColor1);
  background-color: var(--backgroundColor);
  border-radius: 10rpx;
  overflow: hidden;

  .group-title-container {
    padding: 20rpx 30rpx;
    display: flex;
    flex-direction: column;

    .title {
      // padding: 0 10rpx;
      width: 180rpx;
      font-size: 36rpx;
      font-weight: 700;
      // text-align: center;
      box-sizing: border-box;
    }

    image {
      width: 100rpx;
    }
  }
}